package Work323;

public class Person {
    protected int id;
    protected String name;
    protected int age;


    public Person() {
        //Java里面new子类对象时候首先new父类对象
        super();//new Object();
    }

    //
    public Person(int id, String name, int age) {
        super();//new Object();
        this.id = id;
        this.name = name;
        this.age = age;
    }

    public void show() {
        System.out.println("Person.show");
    }
}
